﻿package mortal.game.utils
{

    public class AvatarUtil extends Object
    {
        public static const Big:int = 1;
        public static const Small:int = 2;
        public static const Mid:int = 3;

        public function AvatarUtil()
        {
            return;
        }// end function

        public static function getPlayerAvatarUrl(param1:int, param2:int, param3:int = 1) : String
        {
            var _loc_4:String = "";
            switch(param3)
            {
                case Big:
                {
                    _loc_4 = "AvatarBig";
                    break;
                }
                case Small:
                {
                    _loc_4 = "AvatarSmall";
                    break;
                }
                case Mid:
                {
                    _loc_4 = "AvatarMid";
                    break;
                }
                default:
                {
                    break;
                }
            }
            return _loc_4 + "_" + param1 + "_" + param2 + ".png";
        }// end function

    }
}
